export function objectToArray(obj: any) {
    const keys = Object.keys(obj);
    const values = keys.map(key => obj[key]);

    return [keys, values];
}